﻿using System;
using System.Runtime.Serialization;

namespace Lhz.Pp.Entity.Database
{
    [DataContract(IsReference = true)]
    public class OrganizationManagement : DatabaseEntity
    {
        [DataMember]
        public virtual Guid? SuperiorGuid { get; set; }

        [DataMember]
        public virtual Organization Superior { get; set; }

        [DataMember]
        public virtual Guid? SubordinateGuid { get; set; }

        [DataMember]
        public virtual Organization Subordinate { get; set; }

        [DataMember]
        public virtual Guid? ApplicationGuid { get; set; }

        [DataMember]
        public virtual Application Application { get; set; }
    }
}
